<h2>Listing Ptrans</h2>

<table class="table">
  <thead>
    <tr>
      <th>Date</th>

      <th></th>
    </tr>
  </thead>
  <tbody>
<%= for ptrans <- @ptrans do %>
    <tr>
      <td><%= ptrans.date %></td>

      <td class="text-right">
        <span><%= link "Show", to: ptrans_path(@conn, :show, ptrans), class: "btn btn-default btn-xs" %></span>
        <span><%= link "Edit", to: ptrans_path(@conn, :edit, ptrans), class: "btn btn-default btn-xs" %></span>
        <span><%= link "Delete", to: ptrans_path(@conn, :delete, ptrans), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %></span>
      </td>
    </tr>
<% end %>
  </tbody>
</table>

<span><%= link "New Ptrans", to: ptrans_path(@conn, :new) %></span>
